package com.th.supcom.pds.drugsupply.client.service;

import java.util.List;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.th.supcom.pds.drugsupply.client.model.DrugInfoModel;
import com.th.supcom.pds.drugsupply.client.model.DrugSearchModel;

/**
 * PdsPackageMaintain 异步接口.
 * 
 * 药品属性维护信息.
 */
public interface PdsPropertyMaintainRpcAsync
{
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    void getPhamBasicInfoById (Long id, AsyncCallback <DrugInfoModel> callback);

    void getPhamBasicInfoListWithPaging (PagingLoadConfig config, DrugSearchModel vo, AsyncCallback <PagingLoadResult <DrugInfoModel>> callback);

    void getPhamBasicInfoListWithPagingByName (PagingLoadConfig config, String name, String code, AsyncCallback <PagingLoadResult <DrugInfoModel>> callback);

    void modifyPhamBasicInfo (List <DrugInfoModel> modelList, String ip, AsyncCallback <Void> callback);

    void searchPhamBasicInfoListWithPagingByName (PagingLoadConfig config, String name, String code, AsyncCallback <PagingLoadResult <DrugInfoModel>> callback);
}